<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>搜索框</title>

    <style>

        .div-style{
            border: 1px solid blue;
            overflow: hidden;
            width: 600px;
            margin: auto;
        }
        .first{
            height: 20px;
        }
        .box{
            float: left;
            width: 80%;
            border: none;
            outline: none;
            padding: 0;
            margin: 0;
            height: 40px;
            font-size: 20px;
        }
        .btn{
            float: right;
            width: 20%;
            border: none;
            outline: none;
            padding: 0;
            margin: 0;
            height: 40px;
        }
        .btn1-style{
            background-color: #3388ff;
            font-family: 新宋体;
            color: #FFFFFF;
            font-size: 22px;
        }
        .btn2-style{
            background-color: #19b955;
            font-family: 新宋体;
            color: #FFFFFF;
            font-size: 22px;
        }
        .box2{
            float: left;
            width: 520px;
            border: none;
            outline: none;
            padding: 0;
            margin: 0;
            height: 40px;
            font-size: 20px;
        }
        .btn3-style{
            float: right;
            width: 80px;
            border: none;
            outline: none;
            padding: 0;
            margin: 0;
            height: 40px;
            background: #db0000 url("CR.png") 28px 10px no-repeat;
            font-size: 0px;
        }

    </style>

</head>
<body>

    <p align="center">
        <a href="http://www.baidu.com" title="点击一下，了解更多">
            <img src="bd.png" width="270px" height="129px">
        </a>
    </p>

    <form action="http://www.baidu.com/s" target="_blank" autocomplete="off">
        <div class="div-style">
            <input type="text" name="wd" class="box">
            <input type="submit" value="百度一下" class="btn btn1-style">
        </div>
    </form>

    <div class="first"></div>
    <p align="center">
        <a href="http://www.so.com">
            <img src="so.png" width="480px" height="140px" title="抗击肺炎">
        </a>
    </p>

    <form action="http://www.so.com/s" target="_blank" autocomplete="off">
        <div class="div-style">
            <input type="text" name="q" class="box">
            <input type="submit" value="搜索" class="btn btn2-style">
        </div>
    </form>

    <div class="first"></div>

    <p  align="center">
        <img src="Cs.jpg" width="330px" height="125px">
    </p>

    <form action="http://www.chinaso.com/search/pagesearch.htm" autocomplete="off">
        <div class="div-style">
            <input type="text" name="q" class="box2">
            <input type="submit" value="搜索"  class="btn3-style">
        </div>
    </form>

</body>
</html>